package org.example.service;

import org.example.model.book;

public interface BookService {
    boolean addBook(book book);

    boolean updateBook(book book);

    boolean deleteBook(String id);

    book[] queryAll();

    book queryBookById(String id);

    book[] queryBookByName(String name);
}
